<script>
export default {
    onLaunch: function () {
        console.log('App Launch')
        uni.loadFontFace({
            global: true,
            family: 'Smiley Sans',
            source: 'url("https://image.daoxuan.cc/font/SMILEYSANS-OBLIQUE.TTF")',
            success() {
                console.log('加载字体1 success')
            }
        }),
        uni.loadFontFace({
            global: true,
            family: 'Dotties Chocolate',
            source: 'url("https://image.daoxuan.cc/font/DOTTIESCHOCOLATE-MEDIUM.ttf")',
            success() {
                console.log('加载字体2 success')
            }
        })
        uni.loadFontFace({
            global: true,
            family: 'Dotties Chocolate1',
            source: 'url("https://image.daoxuan.cc/font/DOTTIESCHOCOLATE-HEAVY.OTF")',
            success() {
                console.log('加载字体3 success')
            }
        })
    },
    onShow: function () {
        console.log('App Show')
    },
    onHide: function () {
        console.log('App Hide')
    }
}
</script>

<style>
/*每个页面公共css */
</style>
